package com.sxz.sbs.module.client.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.sxz.sbs.R;
import com.sxz.sbs.module.client.bean.CallRecordsBean;
import com.sxz.sbs.module.client.bean.ClientBean;

import java.util.List;

/**
 * 通话记录adapter
 * @author hp
 */

public class CallRecordsAdapter extends BaseQuickAdapter<CallRecordsBean,BaseViewHolder>{


    public CallRecordsAdapter(@Nullable List<CallRecordsBean> data) {
        super(R.layout.item_callrecords,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, CallRecordsBean item) {
        helper.setText(R.id.tv_calltime,item.getDate_BreakTime());

    }
}
